﻿<%@ Page Language="C#"  Inherits="System.Web.Mvc.ViewPage<DocumentInterchange.Models.LoginModel>" %>

<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <meta http-equiv="Content-Style-Type" content="text/css">
        <title>DI: Login</title>
        
        <link rel="stylesheet" type="text/css" href="/stylesheets/main.css">
    </head>
    <body style="min-width: 800px">
        <div id="header">
			<div id="title">
				<h1>Обмен юридически значимыми докуменами.</h1>
			</div>
		</div>
        <div id="login_content">
        	<div id="i_content">
        		<div id="c_title">
					<label>Авторизация</label>
				</div>
	            <form action="Login" method="post" id="login_i_content" style="padding-left: 40px">
                    <%: Html.AntiForgeryToken() %>                   
	            	<div id="f_labels" style="width: auto; height: auto;">
	            		<%: Html.LabelFor(m => m.UserName) %>
	            		<div class="clear"></div>
                        <%: Html.LabelFor(m => m.Password) %>
	            		<div class="clear"></div>
	            		<%: Html.CheckBoxFor(m => m.RememberMe) %>
	            	</div>
	            	<div id="f_field">
					
                        <%: Html.TextBoxFor(m => m.UserName, new { @class = "field_login", @maxlength="20",  }) %>
						<div class="clear"></div>
                        <%: Html.PasswordFor(m => m.Password, new { @class = "field_login", @maxlength="20",  }) %>
						<div class="clear"></div>	
                        <%: Html.LabelFor(m => m.RememberMe, new { @style = "font-weight: bold; font-size: 14px" }) %>														
						<div class="clear"></div>
						<input class="button_enter" type="submit" value="Войти">
					</div>				
	            </form>
                <div style="font-size: 14px; color: #f00"><%: Html.ValidationSummary(true) %></div>
        	</div>
        </div>
    </body>
</html>
